package com.zmj.demo.service;

import com.zmj.demo.pojo.entity.Hello;
import com.zmj.framework.base.service.IBaseService;
import com.zmj.framework.response.Result;

import java.util.concurrent.TimeoutException;

public interface HelloService extends IBaseService<Hello> {

    Result testTimeOut() throws InterruptedException;

    Result testCircuitBreaker() throws Exception;

    Result testCircuitBreakerAop() throws TimeoutException, InterruptedException;

    Result testRateLimiterAop() throws TimeoutException, InterruptedException;
}
